package com.recruit.g1.user.mapper;

import com.recruit.g1.user.pojo.entity.Verification;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface VerificationMapper {
    int insert(Verification verification);

    Verification selectById(Long id);

    Verification selectByIdNumber(String idNumber);

    List<Verification> selectAll();

    int updateStatus(@Param("id") Long id, @Param("status") Byte status);

    int updateById(Verification verification);
}